import { Application } from "egg";

export default (app: Application) => {
    const { router , controller } = app ;
    router.get("/api/orgs", controller.org.list);
    router.get("/api/org/:id/members", controller.org.members);
    router.delete("/api/org/:id", controller.org.delete);
    router.put("/api/org/:id", controller.org.update);
};
